Optimal. Leaf size=46 \[ \frac {x^3}{3 a^2}-\frac {b^2}{3 a^3 \left (b+a x^3\right )}-\frac {2 b \log \left (b+a x^3\right )}{3 a^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {269, 272, 45}
\begin {gather*} -\frac {b^2}{3 a^3 \left (a x^3+b\right )}-\frac {2 b \log \left (a x^3+b\right )}{3 a^3}+\frac {x^3}{3 a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 269
Rule 272
Rubi steps
\begin {align*} \int \frac {x^2}{\left (a+\frac {b}{x^3}\right )^2} \, dx &=\int \frac {x^8}{\left (b+a x^3\right )^2} \, dx\\ &=\frac {1}{3} \text {Subst}\left (\int \frac {x^2}{(b+a x)^2} \, dx,x,x^3\right )\\ &=\frac {1}{3} \text {Subst}\left (\int \left (\frac {1}{a^2}+\frac {b^2}{a^2 (b+a x)^2}-\frac {2 b}{a^2 (b+a x)}\right ) \, dx,x,x^3\right )\\ &=\frac {x^3}{3 a^2}-\frac {b^2}{3 a^3 \left (b+a x^3\right )}-\frac {2 b \log \left (b+a x^3\right )}{3 a^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 38, normalized size = 0.83 \begin {gather*} \frac {a x^3-\frac {b^2}{b+a x^3}-2 b \log \left (b+a x^3\right )}{3 a^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 44, normalized size = 0.96
method | result | size |
risch | \(\frac {x^{3}}{3 a^{2}}-\frac {b^{2}}{3 a^{3} \left (a \,x^{3}+b \right )}-\frac {2 b \ln \left (a \,x^{3}+b \right )}{3 a^{3}}\) | \(41\) |
norman | \(\frac {\frac {x^{6}}{3 a}-\frac {2 b^{2}}{3 a^{3}}}{a \,x^{3}+b}-\frac {2 b \ln \left (a \,x^{3}+b \right )}{3 a^{3}}\) | \(43\) |
default | \(-\frac {b \left (\frac {b}{a \left (a \,x^{3}+b \right )}+\frac {2 \ln \left (a \,x^{3}+b \right )}{a}\right )}{3 a^{2}}+\frac {x^{3}}{3 a^{2}}\) | \(44\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 43, normalized size = 0.93 \begin {gather*} -\frac {b^{2}}{3 \, {\left (a^{4} x^{3} + a^{3} b\right )}} + \frac {x^{3}}{3 \, a^{2}} - \frac {2 \, b \log \left (a x^{3} + b\right )}{3 \, a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 56, normalized size = 1.22 \begin {gather*} \frac {a^{2} x^{6} + a b x^{3} - b^{2} - 2 \, {\left (a b x^{3} + b^{2}\right )} \log \left (a x^{3} + b\right )}{3 \, {\left (a^{4} x^{3} + a^{3} b\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.14, size = 42, normalized size = 0.91 \begin {gather*} - \frac {b^{2}}{3 a^{4} x^{3} + 3 a^{3} b} + \frac {x^{3}}{3 a^{2}} - \frac {2 b \log {\left (a x^{3} + b \right )}}{3 a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.43, size = 41, normalized size = 0.89 \begin {gather*} \frac {x^{3}}{3 \, a^{2}} - \frac {2 \, b \log \left ({\left | a x^{3} + b \right |}\right )}{3 \, a^{3}} - \frac {b^{2}}{3 \, {\left (a x^{3} + b\right )} a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 45, normalized size = 0.98 \begin {gather*} \frac {x^3}{3\,a^2}-\frac {b^2}{3\,\left (a^4\,x^3+b\,a^3\right )}-\frac {2\,b\,\ln \left (a\,x^3+b\right )}{3\,a^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________